package com.leyou.item.api;

import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author zcc
 * @date 2018/11/3 11:53
 */
@RequestMapping("Stock")
public interface StockApi {

    Boolean reduceStock(@PathVariable("skuId")Long skuId,@RequestParam("num")Integer num);
}
